﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Threading.Tasks;

namespace NineMine.DataModel
{
    public class Enumeration
    {
        [Key]
        public long Id { get; set; }

        [MaxLength(30)]
        public string Name { get; set; }

        public long Position { get; set; }

        public bool IsDefault { get; set; }

        [MaxLength(255)]
        public string EnumerationType { get; set; }

        public bool Active { get; set; }

        public Project Project { get; set; }

        public Enumeration Parent { get; set; }

        [MaxLength(30)]
        public string PositionName { get; set; }
    }
}
/*
(1, 'Low', 1, 0, 'IssuePriority', 1, NULL, NULL, 'lowest'),
(2, 'Normal', 2, 1, 'IssuePriority', 1, NULL, NULL, 'default'),
(3, 'High', 3, 0, 'IssuePriority', 1, NULL, NULL, 'high3'),
(4, 'Urgent', 4, 0, 'IssuePriority', 1, NULL, NULL, 'high2'),
(5, 'Immediate', 5, 0, 'IssuePriority', 1, NULL, NULL, 'highest'),
(6, 'User documentation', 1, 0, 'DocumentCategory', 1, NULL, NULL, NULL),
(7, 'Technical documentation', 2, 0, 'DocumentCategory', 1, NULL, NULL, NULL),
(8, 'Design', 1, 0, 'TimeEntryActivity', 1, NULL, NULL, NULL),
(9, 'Development', 2, 0, 'TimeEntryActivity', 1, NULL, NULL, NULL);
*/